@import '../editor-theme';
@formly-editor: ~'@{prefix}-formly-editor';

.@{formly-editor} {
  ::-webkit-scrollbar {
    width: 6px;
    height: 6px;
  }

  ::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
  }

  .workbench {
    height: 100%;
    display: flex;
    flex-direction: column;

    &-body {
      flex: 1;
      display: flex;
      min-height: 0;
      position: relative;
    }
  }

  .workspace-panel {
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
    background-color: @edt-workspace-panel-bg-color;
    position: relative;
    z-index: 1;
  }
}
